package com.yh.dao;

import java.util.List;

import com.yh.bean.Rules;

public interface RulesDao {

	  //新增制度； 
	  public abstract int  addRules(Rules rule);
	  //删除制度
	  public abstract int  deleteRules(Rules rule);
	  //批量删除
	  public abstract int  deleteArrayRules(int [] array);
	  //查询制度
	  public abstract List<Rules>  queryRules(Rules rule);
	  //更改制度
	  public abstract int  updateRules(Rules rule);
	
	
}
